﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Catering.Catering_Page.TopList
{
    public partial class Top_Mes : UserIsNull
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.lab_time.Text = DateTime.Now.Year.ToString() + "年" + DateTime.Now.Month.ToString() + "月" + DateTime.Now.Day.ToString() + "日";
            this.lab_week.Text = DateTime.Now.DayOfWeek.GetWeekStr();
            this.lab_username.Text = Session["User"].ToString();

            //if (Session["mstatus"] != null && !string.IsNullOrEmpty(Session["mstatus"].ToString()))
            //{
            //    string mstatus = Session["mstatus"].ToString();
            //    if (mstatus.Equals("0"))
            //    {
            //        dd_ss_1.Attributes["class"] = "qi_dd";
            //        dd_ss_2.Attributes["class"] = "san_dd hover_sandd";
            //    }
            //    if (mstatus.Equals("1"))
            //    {
            //        dd_ss_1.Attributes["class"] = "san_dd hover_sandd";
            //        dd_ss_2.Attributes["class"] = "qi_dd";
            //    }
            //}
        }
    }
}